package com.sijiao.pojo;

/**
 * 结果集
 *
 * @author ShiLian
 * @date 2022/07/22 19:54
 **/
public class ResultMessage {
    private boolean flag;

    private String message;

    private int status;

    private Object data;

    public ResultMessage() {
    }

    public ResultMessage(boolean flag, String message, int status, Object data) {
        this.flag = flag;
        this.message = message;
        this.status = status;
        this.data = data;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
